//
//  JLCLSDKConfig.h
//  JLCLDemo
//
//  Created by Mac on 2022/3/10.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
typedef void(^JLCLCallBackBlock)(BOOL isSuccessful);
NS_ASSUME_NONNULL_BEGIN

@interface JLCLSDKConfig : NSObject
+ (instancetype)defaultInstance;
/// 注册并申请授权
/// @param appId 申请到的appid
/// @param block 授权是否成功
- (void)setAppID:(NSString *)appId callback:(JLCLCallBackBlock)block;
/// 平台
/// @param type 0原生 1flutter
/// @param appId 申请到的appid
/// @param block 授权是否成功
- (void)setAppID:(NSString *)appId platform:(int)type callback:(JLCLCallBackBlock)block ;
/// 获取当前版本号
- (NSString *)getVersion;
/// ---
/// @param adID 广告位id
- (NSString *)getFeedAdId:(NSString *)adID withLocation:(NSInteger)location;
- (NSString *)getBannerAdId:(NSString *)adID withLocation:(NSInteger)location;
/// 恢复bid
- (void)regainBid;
/// 修改bid
- (void)changeBid;
@end

NS_ASSUME_NONNULL_END
